<?php htmlTemplate('index/header.tpl.php')?>
<script type="text/javascript">
function save(){
	var url = '<?php echo MVC_WWW_HOST?>user/saveuserinfo';
	var email = $.trim($("#email").val());
	var phone = $.trim($("#phone").val());
	var pwd = $.trim($("#pwd").val());
	var username = $.trim($("#username").val());
	var name = $.trim($("#name").val());
	var code = $.trim($("#code").val());
	var checkcode = $.trim($("#checkcode").val());
    $.post(url,{'email':email,'phone':phone,'pwd':pwd,'username':username, 'name':name,'code':code,'checkcode':checkcode},function(rs){
        $("#msginfo").html(rs);        
    })
}
function loadswf(msg){
	var html = $(".zpintro").html();
	$(".zpintro").html(msg+'<br>'+html);
}
swfobject.embedSWF("<?php echo MVC_WWW_HOST?>doc/flash/SocketPhp.swf?a=<?php echo date("Ymd")?>", "flashContent", "440", "435", "9.0.0");

</script>
<?php htmlTemplate('index/userleft.tpl.php')?>
        <div style="" class="lrtab">    
        <a href="<?php echo MVC_WWW_HOST?>user/lottery" <?php if (Http::get('do')=='') {echo 'class="lrtabon"';}?> style="border-left: solid 1px #DFDFDF" >幸运转盘</a>
         <a href="<?php echo MVC_WWW_HOST?>user/lottery/do/24dian" <?php if (Http::get('do')=='24dian') {echo 'class="lrtabon"';}?> >疯狂24点</a>
        <a href="<?php echo MVC_WWW_HOST?>user/lottery/do/list" <?php if (Http::get('do')=='list') {echo 'class="lrtabon"';}?> >奖励记录</a>
        </div>
        <div class="clear"></div>
        <div style="padding-top:10px;width:100%;background: #f3f3f3;padding-bottom:10px;text-align: center;"><span style="font-size: 14px;font-weight:bold;">【幸运转盘】奖励说明：每次抽将奖消耗10积分，最高可获得<span class="point">50</span>积分，奖励不设上限，赶紧试试手气吧！</span></div>
        <div class="clear"></div>
        <div>
            <div id="flashContent" style="float:left;width:440px;"></div>
			<div class="zpintro" style="width: 226px;height:435px;padding-top:10px;background: #fff;float:right;overflow-y:auto;">
			
			</div>
		
        </div>
<?php htmlTemplate('index/userfooter.tpl.php')?>
<?php htmlTemplate('index/footer.tpl.php')?>